import Vue from 'vue'
import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios, axios)
    //记住要导入三个

const instance = axios.create({
    baseURL: 'http://toutiao-app.itheima.net',
    //   headers: {'X-Requested-With': 'XMLHttpRequest'},
    timeout: 5000
})
export default instance